package com.th.supcom.pds.phamapply.client.service;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.phamapply.client.model.InpPatPhamLeftModel;

/**
 * InpPatPhamLeft 异步接口.
 * 
 * 住院患者药品剩余数量.
 */
public interface InpPatPhamLeftRpcAsync
{
    void getInpPatPhamLeftById (Long id, AsyncCallback <InpPatPhamLeftModel> callback);

    void addInpPatPhamLeft (InpPatPhamLeftModel model, AsyncCallback <Void> callback);

    void modifyInpPatPhamLeft (InpPatPhamLeftModel model, AsyncCallback <Void> callback);

    void removeInpPatPhamLeft (Long id, AsyncCallback <Void> callback);

    void getInpPatPhamLeftListWithPaging (PagingLoadConfig config, AsyncCallback <PagingLoadResult <InpPatPhamLeftModel>> callback);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}